package com.example.mapper;

import com.example.entity.FileEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface FileMapper {

    void insertFile(FileEntity fileEntity);

    @Select("select location from file where name = #{fileName}")
    String findFile(String fileName);
}
